import { Controller, Get, Inject } from '@nestjs/common';
import { AppService } from './app.service';
import { UserService } from './user/user.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService,
    private readonly userService:UserService,
    @Inject('common') private readonly common:any
  ) {}

  @Get('get')
  getHello(): string {
    return this.common.path;
  }
}
